package cn.it.http;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;


@Controller
@RequestMapping("aaa")
public class Hello {

    @RequestMapping(path = "/hello/{pwd}")
    public String hello(@PathVariable String pwd){

        System.out.println("hello haha "+pwd);
        return "index";
    }
}
